package dual.activity;

import com.wimm.framework.app.LauncherActivity;
import android.view.View;
import android.content.Intent;
import android.os.Bundle;

public class DualActActivity extends LauncherActivity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }

    public void startOnClick(final View fv) {
    	final Intent i = new Intent(this, ProcSketch.class);
    	startActivity(i);
    }
    
	@Override
	protected void onStart() {
		super.onStart();
		//System.out.println("DualAct started");
	}
	
	@Override
	protected void onActivityResult(int requestCode, int resultCode, Intent data) {
		// Intent contains extra data see leave method in ProcSketch 
		System.out.println ("onActivityResult: " + requestCode + " " + resultCode);
	}
}